package HomeWorkNewYear;

public class ooDay01Doctor extends ooDay01Person{
    String title;
    ooDay01Doctor() {}
    ooDay01Doctor(String name,int age,String address,String title){
        super(name,age,address);
        this.title = title;
    }
    void cut(){
        System.out.println(name+"正在做手术");
    }
}
